﻿using EasyDDD.AdminModule.Domain.AggregateSysAdminRole;

namespace EasyDDD.AdminModule.Repository.DataSeed
{
    internal class SysAdminRoleSeed
    {
        internal IList<SysAdminRole> GetDataSeed()
        {
            var list = new List<SysAdminRole>();
            list = System.Text.Json.JsonSerializer.Deserialize<List<SysAdminRole>>("""
            [
              {
                "sysAdminRoleMenuList": [],
                "status": 0,
                "roleType": 0,
                "name": "超级管理员",
                "code": "superadmin",
                "isSystem": false,
                "remark": "完全权限",
                "roleClaimList": [],
                "id": "0931c9f1-7542-4a99-89f6-29b42390c3bc",
                "isDeleted": false,
                "tenantId": "00000000-0000-0000-0000-000000000000",
                "rowVersion": "239062cd-a34d-46f1-8c4a-c57940b9dbb0"
              },
              {
                "sysAdminRoleMenuList": [
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192f604-8e04-763f-880a-d57fab6bd038"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192f616-4128-77ae-ae01-8bb06106623d"
                  },
                  {
                    "sysAdminRole": null,

                    "sysMenuId": "0192f622-a904-7d7b-813b-47e23c1e44bb"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb39-2e53-7b6b-a912-28a9b6a56acf"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb3f-0286-7c52-8e26-97fa93c7cc56"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb3f-9fea-7d6b-bf9d-e00ac612b539"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb40-ae02-7845-ae74-d948e1fbfe26"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb41-2e37-7463-b9d3-00cd900b4e58"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb42-f746-730c-adc6-d02fa6be2b87"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb45-0e56-7954-a0ce-6b2afb8b3b93"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb45-74b2-7ada-a261-4110b9b8869f"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb4a-9761-7e6a-b644-40dde3b4e9bf"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb4d-29bc-7374-8c3d-35f2483626e1"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb4f-027b-7db7-bf6e-81176e637aca"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb4f-85fd-7110-94bf-691a5b48c829"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192fb4f-fe3e-7b67-826e-cf7867fb2a85"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192f5de-1de1-7116-93ec-6a7e4970ee53"
                  },
                  {
                    "sysAdminRole": null,
                    "sysMenuId": "0192f61c-1208-7da2-9b6a-ef8cb2a34b35"
                  }
                ],
                "status": 0,
                "roleType": 0,
                "name": "普通管理员",
                "code": "admin",
                "isSystem": false,
                "remark": "限定权限",
                "roleClaimList": [
                  {
                    "id": "019300df-aba4-7d5a-a4d4-5940ba3cd5ad",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdminRole.Add"
                  },
                  {
                    "id": "019300df-aba9-7012-b9df-d77ba73f9903",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdmin.ResetPassword"
                  },
                  {
                    "id": "019300df-aba9-7133-b1aa-568eed7e9452",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdminRole.SetStatus"
                  },
                  {
                    "id": "019300df-aba9-72d0-a61c-6d2c382519f7",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdmin.GetPageList"
                  },
                  {
                    "id": "019300df-aba9-7576-a934-ffcf6a83abbd",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdminRole.Update"
                  },
                  {
                    "id": "019300df-aba9-7580-9291-35d8db928952",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdmin.Delete"
                  },
                  {
                    "id": "019300df-aba9-76e2-b2d6-301fae895f6b",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdmin.Update"
                  },
                  {
                    "id": "019300df-aba9-7883-b6a0-81249303e94c",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysMenu.Delete"
                  },
                  {
                    "id": "019300df-aba9-79b4-a238-3f179d9a88a1",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdmin.Add"
                  },
                  {
                    "id": "019300df-aba9-7b00-b891-4a85785c14e6",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysMenu.Update"
                  },
                  {
                    "id": "019300df-aba9-7b62-9700-c5c1ed7caa6b",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdminRole.GetPageList"
                  },
                  {
                    "id": "019300df-aba9-7b77-8595-b3e8ee949d66",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysMenu.GetList"
                  },
                  {
                    "id": "019300df-aba9-7ba5-966e-c1e36583cddb",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdmin.SetRole"
                  },
                  {
                    "id": "019300df-aba9-7d2a-8220-fbd585c77b5f",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdminRole.SetMenu"
                  },
                  {
                    "id": "019300df-aba9-7d6d-ab86-104e80f6d1ea",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysAdminRole.Delete"
                  },
                  {
                    "id": "019300df-aba9-7e69-a38d-99f985ddc238",
                    "applicationRole": null,
                    "claimType": "MenuPermissions",
                    "claimValue": "AdminModule.SysMenu.Add"
                  }
                ],
                "id": "dbbe6d94-1b24-4cf4-878b-a19723b52b25",
                "isDeleted": false,
                "tenantId": "00000000-0000-0000-0000-000000000000",
                "rowVersion": "b90df02b-fbe9-4362-94f3-bf61697b004c"
              }
            ]
            """, System.Text.Json.JsonSerializerOptions.Web);
            return list!;
        }
    }
}
